package com.tequila.core.service;

import com.tequila.domain.dto.CardCouponProductDto;
import com.tequila.domain.entity.CardCouponProduct;
import com.tequila.domain.query.CardCouponProductQuery;

import fe.core.Pagination;

import java.util.List;

public interface CardCouponProductService {

    public Pagination<CardCouponProductDto> queryPageListByParam(CardCouponProductQuery query);

    public CardCouponProductDto queryById(Long id);

    public List<CardCouponProductDto> queryByIdList(List<Long> idList);

    public List<CardCouponProductDto> queryListByParam(CardCouponProductQuery query);

    public Long insert(CardCouponProduct entity);

    public Long save(CardCouponProduct entity);

    public int updateById(CardCouponProduct param);

    public int updateSelectiveById(CardCouponProduct param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
